package com.hovhanna.monopoly.model.slots;

import com.hovhanna.monopoly.model.Board;
import com.hovhanna.monopoly.model.Player;
import com.hovhanna.monopoly.model.deeds.Deed;

public abstract class OwnableSlot<D extends Deed, E extends Enum<E>> extends Slot<E> {
    protected final D deed;
    protected Player owner;
    protected boolean mortgaged;
    
    public OwnableSlot(Board board, D deed) {
        super(board);
        this.deed = deed;
    }
    
    public void mortgage() {}
    public void unmortgage() {}
    
    public D getDeed() {
        return deed;
    }
}
